package com.thinkit.bigdata.web.service.bus;

import com.thinkit.bigdata.core.feature.orm.mybatis.Page;
import com.thinkit.bigdata.web.model.bus.BusTag;
import com.thinkit.bigdata.web.model.bus.BusTagExample;
import com.thinkit.bigdata.web.model.sec.TagTreeNode;

import java.util.List;

/**
 * Created by hccl on 2018/9/6.
 */
public interface BusTagService {

    List<BusTag> selectByExample(Page<BusTag> page, BusTagExample example);

    List<BusTag> selectLeafByExample(Page<BusTag> page, BusTagExample example);

    List<BusTag> selectByExample(BusTagExample example);

    BusTag selectByPrimaryKey(Long id);

    Integer countByExample(BusTagExample example);

    Integer insertBusTag(BusTag recoord);

    Integer updateBusTag(BusTag recoord);

    Integer deleteBusTag(Long tagId);

    Integer deleteBusTag(List<Long> tagIdList);

    TagTreeNode showTagTree(Long areaId, String tagType);
}
